#define _CRT_SECURE_NO_WARNINGS
#include"vector.h"
using namespace std;


namespace sj
{
	void test1()
	{
		vector<int> v(3, 1);
		for (auto e : v)
		{
			cout << e ;
		}
		cout << endl;
		v.push_back(2);
		for (auto e : v)
		{
			cout << e;
		}
		cout << endl;
		v.insert(v.begin(), 4);
		for (auto e : v)
		{
			cout << e;
		}
		cout << endl;
		vector<int> v2{ 1,2,3,4,5 };
		v2.erase(v2.end()-1);
		for (auto e : v2)
		{
			cout << e;
		}

		
	}
}



int main()
{
	sj::test1();
	return 0;
}